<!DOCTYPE html>
<html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page isELIgnored ="false" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>
<%@ page contentType="text/html;charset=UTF-8"%>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>新增查岗策略</title>
<link href="<%=basePath%>resources/js/common/plugin/easyui/themes/default/easyui.css" rel="stylesheet"/>
<link href="<%=basePath%>resources/js/common/plugin/select2/css/select2.min.css" rel="stylesheet" />
<link href="<%=basePath%>resources/js/common/plugin/multiselect/css/bootstrap-multiselect.css" rel="stylesheet" />
<%-- <script src="<%=basePath%>resources/js/common/plugin/multiselect/js/bootstrap-multiselect.js"></script> --%>
<script src="<%=basePath%>resources/js/common/plugin/select2/js/select2.min.js"></script>
<script src="<%=basePath%>resources/js/common/plugin/easyui/jquery.easyui.min.js"></script>
<script src="<%=basePath %>resources/js/common/plugin/My97DatePicker/WdatePicker.js"></script>
<script src="<%=basePath%>resources/js/common/main/global.js"></script>
<script src="<%=basePath%>resources/js/common/main/nav.js"></script>
<script src="<%=basePath%>resources/js/system/check/addAreaStrategyForm.js"></script>
<style>
label{
	width:70px;
	text-align:right;
	line-height:24px;
}
.textbox.combo{
	width:218px !important;
}
#checkTime{
	height:24px;
	width:220px;
	border-color:#dedede;
}
#questionId{
	height:24px;
	border-color:#dedede;
}
#answer2{
	width:220px;
	height:48px;
	border-color:#dedede;
}
.label>div{
	margin-bottom:10px;
}
.btn-group ul{
	height:320px;
}
.hDiv tr input,.bDiv tr input{
	border:none;
}
</style>
</head>

<body>


<div class="userQuery mt20 clearfix pr" style='margin-top:0'>
		

		
			
			<div class='fl' >
				<label class='fl'>查岗内容：</label>
				<select class='fl' name="selectQuestions" id="selectQuestions" style='width:150px'></select>
			</div>
			

		
		<a class="fl userBtn" href="javascript:;" id="queryBtn"
			onclick="if(toSearch1()==false) return false;"
			style='margin-left: 80px'>查询</a>
	</div>

	<div style=' width: 345px; float: left;border:1px solid #dedede;'>

		<div class='label' style="margin:20px 0 20px 0">
			<input type="hidden" id="level" value="${level}" >
			<div class='clearfix' >
					<label for="" class='fl'>区域查岗： </label>
                   <select name="selectType" id="selectType" style='margin-left:1px' onchange="getAreaCheckSelect(this)" ></select>
            </div>
            
             <div class='clearfix' style='margin-left:70px'>
					<select name="check_target_id" id="check_target_id">
               </select>
          	</div>
			<div class='clearfix'>
				<label for="" class='fl'>查岗模式： </label> <input type="radio"
					name="checkMode" id="checkMode1" value="1" style='margin-top:-1px;border:none;box-shadow:none'/>自动 <input
					type="radio" name="checkMode" id="checkMode2" value="2" style='margin-top:-1px;margin-left:10px;border:none'/>手工
			</div>
			<div class='clearfix' id="showOrhide">
				<label for="checkTime" class='fl'>下发时间： </label> <input type="text"
					id="checkTime" class="query-input fl Wdate Time_input"
					onclick="WdatePicker({dateFmt:'HH:mm'})" />
			</div>
			<div class='clearfix'>
				<label for="questionId" class='fl'>查岗内容： </label> <select
					name="questionId" id="questionId" onchange="getAnswer(this)">

				</select>
			</div>
			<div>
				<label for="answer2" class='fl'>设置答案： </label>
				<textarea rows="2" cols="2" id="answer2" disabled="disabled" style='border:none;border:1px solid #dedede'></textarea>
			</div>
			<div class='clearfix' style='margin:14px 0 0 100px'>
				<a class="fl userBtn" href="javascript:;" onclick='saveStrategy()' style='text-align:center'>提交</a>
			</div>
		</div>
	</div>

	<div class="userOpeart" style='margin-left:370px'>
		<ul class="clearfix" >
			<li class="userAdd OpeartLi-vehicle fl"><a
				class="db clearfix OpeartA" href="javascript:;" id="delStrategyBtn"
				name="delStrategyBtn"
				onclick="if(deleteStrategy()==false) return false;"> <span
					class="remove-icon db fl OpeartIcon"></span>
					<div class="add-text OpeartText fl">删除</div>
			</a></li>
		</ul>
	</div>
	<div class="rightbox" style='margin-left:370px'>
	        <div id="tbStrategys">
	        </div>
	    </div>
	<script>
		$(".textbox .textbox-text.validatebox-text.textbox-prompt").attr('placeholder','请输入区域')
	</script>
</body>
</html>